{% load i18n store_admin_tags %}

{% if paged %}
	{% if objects.has_previous %}
	    <a href="?page={{ objects.previous_page_number }}&{{ filter_params|encode_filters }}" class="prev">&lsaquo; {% trans "Previous" %} </a>
	{% else %}
	    <span class="disabled prev">&lsaquo; {% trans "Previous" %} </span>
	{% endif %}
	{% for page in pages %}
	    {% if page %}
	        {% ifequal page objects.number %}
	            <span class="current page"> {{ page }} </span>
	        {% else %}
	            <a href="?page={{ page }}&{{ filter_params|encode_filters }}" class="page"> {{ page }} </a>
	        {% endifequal %}
	    {% else %}
	        ...
	    {% endif %}
	{% endfor %}
	{% if objects.has_next %}
	    <a href="?page={{ objects.next_page_number }}&{{ filter_params|encode_filters }}" class="next"> {% trans "Next" %} &rsaquo;</a>
	{% else %}
	    <span class="disabled next"> {% trans "Next" %} &rsaquo;</span>
	{% endif %}
{% endif %}
